/*
 * @Author       : Darcy
 * @Date         : 2021-05-09 18:22:10
 * @LastEditors  : Darcy
 * @LastEditTime : 2021-05-09 18:34:38
 * @FilePath     : \HelloWorld\Cpp\BeFriendly\HPZ_1.cpp
 * @Description  : <(￣︶￣)↗[GO!]
 * https://github.com/Darcy-Zhang
 */
#include "stdio.h"
int main() {
    int i;
    short a[3] = {32767, -19, 10};
    for (i = 0; i < 3; i++) {
        printf("a[%d]的地址%x\n", i, &a[i]);
        printf("a[%d]的十六进制数为%x\n", i, a[i]);
        printf("a[0]的输出结果是%d\n", a[0]);
        printf("a[1]与a[2]的和是%d\n", a[1] + a[2]);
    }
    return 0;
}
